<?php
/**
 * 抵扣优惠劵策略
 */

namespace Api\Plugin\BonusStrategy;

use Api\Plugin\AbstractBonusStrategy;

class DiscountStrategy extends AbstractBonusStrategy{

    public function run(){
        //$payMoney = $this->_payDetail['TotalMoney'];
        $bonusMoney = $this->_bonusInfo['BonusMoney'];
        //$waitPayMoney = $payMoney - $bonusMoney;
        return $bonusMoney;

    }
}